package com.project.zsxd.server.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.zsxd.server.user.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kaler
 * @since 2020-05-12
 */
public interface UserMapper extends BaseMapper<User> {

    List<String> selectRolesByUserName(String userName);

    List<String> selectPermissionsByUserName(String userName);

}
